﻿
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
using WalkingTec.Mvvm.Core;
using WalkingTec.Mvvm.Core.Extensions;
using TyMES.Model.BaseInformation;
using TyMES.Model;

namespace TyMES.ViewModel.BaseInformation.TrayVMs
{
    public partial class TrayTemplateVM : BaseTemplateVM
    {
        
        [Display(Name = "_Model._Tray._TrayCode")]
        public ExcelPropety TrayCode_Excel = ExcelPropety.CreateProperty<Tray>(x => x.TrayCode);
        [Display(Name = "_Model._Tray._TrayName")]
        public ExcelPropety TrayName_Excel = ExcelPropety.CreateProperty<Tray>(x => x.TrayName);
        [Display(Name = "_Model._Tray._TrayDescription")]
        public ExcelPropety TrayDescription_Excel = ExcelPropety.CreateProperty<Tray>(x => x.TrayDescription);
        [Display(Name = "_Model._Tray._TrayStatus")]
        public ExcelPropety TrayStatus_Excel = ExcelPropety.CreateProperty<Tray>(x => x.TrayStatus);
        [Display(Name = "_Model._Tray._Note")]
        public ExcelPropety Note_Excel = ExcelPropety.CreateProperty<Tray>(x => x.Note);
        [Display(Name = "_Model._Tray._TrayLine")]
        public ExcelPropety TrayLine_Excel = ExcelPropety.CreateProperty<Tray>(x => x.TrayLine);
        [Display(Name = "_Model._Tray._TrayStation")]
        public ExcelPropety TrayStation_Excel = ExcelPropety.CreateProperty<Tray>(x => x.TrayStation);
        [Display(Name = "_Model._Tray._UsedTimes")]
        public ExcelPropety UsedTimes_Excel = ExcelPropety.CreateProperty<Tray>(x => x.UsedTimes);
        [Display(Name = "_Model._Tray._PlannedTimes")]
        public ExcelPropety PlannedTimes_Excel = ExcelPropety.CreateProperty<Tray>(x => x.PlannedTimes);

	    protected override void InitVM()
        {
            
        }

    }

    public class TrayImportVM : BaseImportVM<TrayTemplateVM, Tray>
    {
            //import

    }

}